package com.aptech.bean;

public class Calc {
    private int a;
    private int b;
    private int[] ar;
    public Calc() {
        ar = new int[] {3,4};
    }

    public int add() {
        return getA()+getB();
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public int getB() {
        return b;
    }

    public void setB(int b) {
        this.b = b;
    }

    /**
     * @return the ar
     */
    public int[] getAr() {
        return ar;
    }

    /**
     * @param ar the ar to set
     */
    public void setAr(int[] ar) {
        this.ar = ar;
    }
}
